package com.design.strategy.calculator;

public class Multiply extends AbstractCalculator implements ICalculator {

	@Override
	public int calculate(String exp) {
		int[] intValue = split(exp, "\\*");
		return intValue[0] * intValue[1];
	}

}
